<template>
  <div class="app-container">
    <el-radio-group v-model="tabPosition" style="margin-bottom: 20px;">
      <el-radio-button label="0">用户</el-radio-button>
      <el-radio-button label="1">代理商</el-radio-button>
      <el-radio-button label="2">车队用户</el-radio-button>
      <el-radio-button label="3">门店用户</el-radio-button>
    </el-radio-group>
    <user v-if="tabPosition == '0'" />
    <agent v-if="tabPosition == '1'" />
    <fleet v-if="tabPosition == '2'" />
    <store v-if="tabPosition == '3'" />
  </div>
</template>

<script>
import user from './user.vue'
import agent from './agent.vue'
import fleet from './fleet.vue'
import store from './store.vue'
export default {
  components:{
    user,
    agent,
    fleet,
    store
  },
  data(){
    return{
      tabPosition:'0'
    }
  }
}
</script>

<style lang="scss" scoped>

</style>